var _pInfo = {
	"userInfo": null,
	"param": getQueryParams(),
	"renderData": function() {
		AjaxRequest({
			url: _url + "/money/wallet/mywallet",
			type: "post",
			load: true,
			data: {
				"userid": _pInfo.userInfo["id"]
			},
			success: function(rs) {
				if(isReqSucceed(rs)) {
					$("#wallet-content").html(template("wallet-content-tpl", {
						rs: rs.data
					}));
				}
			}
		});
	},
	"loadEvents": function() {
		_pInfo.userInfo = _user.getUserInfo();
	},
	"load": function() {
		this.loadEvents();
		this.renderData();
	}
}
$(function() {
	_pInfo.load();
});